package com.nuoniu.sibanyun.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName ErpVoucherDesignAddDto
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2020/11/5 18:21
 **/
@Data
@ApiModel("新增自定义字段")
public class ErpVoucherDesignAddDto extends BaseEntity {

    @ApiModelProperty(value = "字段名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "字段来源 （...其他单据）")
    @TableField("source")
    private String source;

    @ApiModelProperty(value = "控件类型")
    @TableField("column_type")
    private String columnType;

    @ApiModelProperty(value = "字段值")
    @TableField("val")
    private String val;

    @ApiModelProperty(value = "长度")
    @TableField("length")
    private String length;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "页签 （表头 表尾 明细 汇总 等等）")
    @TableField("data_tab")
    private String dataTab;


    @ApiModelProperty(value = "关联字段(单据对应字段)")
    @TableField("relation_field")
    private String relationField;

    @ApiModelProperty(value = "列宽")
    @TableField("column_width")
    private Integer columnWidth;


    @ApiModelProperty(value = "描述")
    @TableField("remarks")
    private String remarks;

}
